﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace ChinaSoft.Web.Model_tb_MidSoft_ProjectInfo
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					int ProjectInfoId=(Convert.ToInt32(strid));
					ShowInfo(ProjectInfoId);
				}
			}
		}
		
	private void ShowInfo(int ProjectInfoId)
	{
		ChinaSoft.BLL.BLL_tb_MidSoft_ProjectInfo bll=new ChinaSoft.BLL.BLL_tb_MidSoft_ProjectInfo();
		ChinaSoft.Model.Model_tb_MidSoft_ProjectInfo model=bll.GetModel(ProjectInfoId);
		this.lblProjectInfoId.Text=model.ProjectInfoId.ToString();
		this.lblProjectName.Text=model.ProjectName;
		this.lblProjectSpecialty.Text=model.ProjectSpecialty;
		this.lblMarker.Text=model.Marker;
		this.lblArea.Text=model.Area;
		this.lblCustomer.Text=model.Customer;
		this.lblProperty.Text=model.Property;
		this.lblDescription.Text=model.Description;
		this.lblCreateTime.Text=model.CreateTime.ToString();
		this.lblCreateUserId.Text=model.CreateUserId.ToString();

	}


    }
}
